/* 风俗文化页面专用样式 */
.culture-container {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* 民俗展示区 */
.folk-customs, .traditional-arts, .food-culture, .culture-experience {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.culture-container h4 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #CCFF66;
    display: flex;
    align-items: center;
}

.culture-container h4 i {
    margin-right: 10px;
    color: #CCFF66;
}

/* 民俗网格布局 */
.customs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.custom-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.custom-card:hover {
    transform: translateY(-5px);
}

.custom-card figure {
    margin: 0;
}

.custom-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.custom-card figcaption {
    padding: 10px;
    text-align: center;
    color: #fff;
    font-weight: 500;
    background-color: rgba(13, 50, 33, 0.7);
}

.custom-card details {
    padding: 15px;
}

.custom-card summary {
    color: #CCFF66;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 10px;
}

.custom-card p {
    color: #f0f0f0;
    line-height: 1.6;
}

/* 传统艺术区域 */
.arts-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.art-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.art-item h5 {
    color: #fff;
    padding: 12px 15px;
    background: linear-gradient(90deg, #0d3221, #154a33);
    margin: 0;
}

.art-content {
    display: flex;
    flex-wrap: wrap;
    padding: 15px;
    gap: 20px;
}

.art-content img {
    flex: 0 0 250px;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.art-content p {
    flex: 1;
    color: #f0f0f0;
    line-height: 1.8;
    margin: 0;
}

/* 饮食文化区域 */
.food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.food-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #c8805a;
    transition: all 0.3s ease;
}

.food-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.food-item h5 {
    color: #CCFF66;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
}

.food-item p {
    color: #f0f0f0;
    margin: 0;
    line-height: 1.6;
}

/* 体验预约表单 */
.culture-experience {
    background-color: rgba(13, 50, 33, 0.2);
}

.experience-form .form-group {
    margin-bottom: 15px;
}

.experience-form label {
    color: #fff;
    display: block;
    margin-bottom: 8px;
}

.experience-form .form-control {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
}

.submit-btn {
    background: linear-gradient(135deg, #0d3221, #154a33);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #154a33, #206e4a);
}

/* 响应式布局 */
@media (max-width: 768px) {
    .customs-grid, .food-grid {
        grid-template-columns: 1fr;
    }
    
    .art-content img {
        flex: 0 0 100%;
        height: auto;
    }
    
    .main-menu ul {
        display: none;
        flex-direction: column;
    }
    
    .main-menu ul.show {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .customs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 伪元素应用 */
.art-item::after {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(to right, transparent, #CCFF66, transparent);
    margin-top: 15px;
}

.food-item::before {
    content: '🍽️';
    margin-right: 8px;
}

/* 属性选择器应用 */
input[type="tel"]:invalid {
    border: 2px solid #ff6b6b;
}

input[type="tel"]:valid {
    border: 2px solid #4ecdc4;
}